apiVersion: v1
kind: Config
clusters:
- cluster:
    certificate-authority: /etc/kubernetes/pki/ca.pem
    server: https://{{ APISERVER_LB_IP }}:{{ APISERVER_LB_PORT }}
  name: {{ CLUSTER_NAME }}
contexts:
- context:
    cluster: {{ CLUSTER_NAME }}
    user: bootstrap-token
  name: bootstrap-token@{{ CLUSTER_NAME }}
current-context: bootstrap-token@{{ CLUSTER_NAME }}
preferences: {}
users:
- name: bootstrap-token
  user:
    token: {{ BOOTSTRAP_TOKEN_ID }}.{{ BOOTSTRAP_TOKEN_SECRET }}